package com.hcy.app

import com.hcy.app.screen.cap.EncryptionForAES
import com.hcy.app.screen.relax.extractChapters
import org.junit.Test

import org.junit.Assert.*
import java.lang.Thread.sleep

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        assertEquals(4, 2 + 2)
    }

    @Test
    fun testBook(){
        val str1= EncryptionForAES.getKeyString()
        print(str1)
        sleep(5)
        val str2= EncryptionForAES.getKeyString()
        print(str2)
    }

}